export const routes = [
  {
    path: '/',
    name: 'Root',
    component: () => import('@/layouts/Entry/index.vue'),
    redirect: '/home',
    children: [
      ...Object.values(import.meta.glob('./modules/*.js', { eager: true })).map((v) => {
        return v.route
      }),
    ],
  },
  {
    path: '/login',
    name: 'Login',
    component: () => import('@/views/Login/index.vue'),
  },
]
